<template>
  <div class="dashboard-container">
    <el-row>
      <el-col class="left" :span="17"><div class="grid-content bg-purple" />
        <el-card class="top-card  kk">
          <div class="banner">
            <img src="@/assets/common/imgbgc.png" alt="" class="img-left">
            <img src="@/assets/common/bgc.png" alt="" class="img-right">
            <img src="@/assets/common/himg.png" alt="" class="user-header">
            <p class="user-title">仓储管理员</p>
            <p class="subject-title">我不是为了输赢，我就是认真！</p>
            <p class="subject-author">—— 罗永浩</p>
            <div class="site">
              <p class="title">北京总仓</p>
            </div>
          </div>
        </el-card>
        <el-card class="up-card"><p>qeqw</p></el-card></el-col>
      <el-col :span="7"><div class="grid-content bg-purple-light" />
        <el-card class="right-card" />
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="24"><el-card class="card1" /></el-col>
    </el-row>
    <el-row>
      <el-col :span="24"><el-card class="card2" /></el-col>
    </el-row>
    <el-row>
      <el-col :span="24"><el-card class="card3" /></el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'Dashboard'
}
</script>
<style lang="scss" scoped>
.dashboard-container{
  background-color: #fdfafa;
  padding: 30px;
}
.el-card__body{
  padding: 0px ;
}
.el-card{
  margin: 20px 20px 0px 0;
  border-radius: 20px;
  .kk{
    padding: 0 !important;
  }
}
.right-card{
  // width: 216p;
  height: 411px;
  // margin: 30px;

  padding:0px
}
.top-card{
  // width: 723px;
  height: 148px;
  margin-right: 30px;
  // background-color: aqua;
}
.up-card{
  height: 243px;
  margin-right: 30px;
}
.card1{
  height: 188px;
}
.card2{
  height: 500px;
}
.card3{
  height: 354px;
}
.grid-content{

}
.hasTagsView .app-main{
    min-height: calc(100vh - 84px);
}

.app-main {
    min-height: calc(100vh - 50px);
    background-color: #fdfafa;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.dashboard{
  background-color: #fdfafa;
  padding: 20px 30px 30px 30px;
}
 .divStatic{
    width: 100%;
    height: 451px;
}
.divLeft {
    width: calc(100% - 261px);
    padding-right: 30px;
    // margin-right: 20px;
    float: left;
}
 .divRight{
    float: left;
}
// 头像部分
.banner {
    position: relative;
    width: 100%;
    height: 148px;
    background: linear-gradient(270deg,#ffc771,#ffa634);
    box-shadow: 0 0 6px 0 rgb(188 151 69 / 12%);
    border-radius: 12px;
    .img-left {
    position: absolute;
    top: 0;
    left: 0;
    height: 148px;
}
.img-right{
    position: absolute;
    top: 0;
    right: 0;
    height: 148px;
}
 .user-header {
    position: absolute;
    top: 31px;
    left: 43px;
    height: 62px;
}
 .user-title {
    position: absolute;
    left: 36px;
    bottom: 20px;
    font-size: 16px;
    font-family: PingFangSC-Medium,PingFang SC;
    font-weight: 500;
    color: #332929;
    line-height: 22px;
}
.subject-title {
    position: absolute;
    font-family: PingFangSC-Medium,PingFang SC;
    font-weight: 500;
    color: #fff;
    line-height: 25px;
      top: 36px;
    left: 200px;
    font-size: 18px;
}
.subject-author{
    top: 76px;
    left: 400px;
    font-size: 16px;
     position: absolute;
    font-family: PingFangSC-Medium,PingFang SC;
    font-weight: 500;
    color: #fff;
    line-height: 25px;
}

.site {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 147px;
    height: 40px;
    background: #f8f5f5;
    border-radius: 6px;
    opacity: .79;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}
.title{
    font-size: 14px;
    font-weight: 500;
    color: #332929;
     font-family: PingFangSC-Medium,PingFang SC;
    line-height: 20px;
}

}
.backlog{
    width: 100%;
    height: 282px;
    background: #fff;
    box-shadow: 0 0 6px 0 rgb(144 142 142 / 17%);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}
.notes {
    width: 261px;
    height: 451px;
    background: #fff;
    box-shadow: 0 0 6px 0 rgb(144 142 142 / 17%);
    border-radius: 12px;
    padding: 30px;
    margin-left: 23px;
}
// 通知公告
.notes .subject{
    font-size: 16px;
    font-family: PingFangSC-Semibold,PingFang SC;
    font-weight: 600;
    color: #332929;
    line-height: 22px;
}

.tasks {
    width: 100%;
    height: 188px;
    background: #fff;
    box-shadow: 0 0 6px 0 rgb(144 142 142 / 17%);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

.inout-charts {
    height: 500px;
    background: #fff;
    box-shadow: 0 0 6px 0 rgb(144 142 142 / 17%);
    border-radius: 12px;
    padding: 25px;
     margin-top: 20px;
}
.dashboard .libs{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
}
.use-charts{
    width: 30%;
    height: 354px;
    background: #fff;
    box-shadow: 0 0 6px 0 rgb(144 142 142 / 17%);
    border-radius: 12px;
    padding: 25px;
    margin-right: 30px;
}
.libs-charts {
    width: 70%;
    height: 354px;
    background: #fff;
    box-shadow: 0 0 6px 0 rgb(144 142 142 / 17%);
    border-radius: 12px;
    padding: 25px;
}
.el-card ::v-deep .el-card__body {
  padding: 0px;
  border-radius: 25px;
  background-color: rgb(255, 255, 255);
}

</style>
